package com.hs.sfzy.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassName Answer
 * @Description TODO
 * @Author liuzhuo
 * @Date 2025年08月13日 15:28
 * @Version 1.0
 */
@Data
public class Answer {
//    我的回答表
    private int id;
    private String content;
    private int consultantId;
    private Consultant consultant;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date answerTime;

}
